import layout from "@/layout";

// 首席投资官
export const ChiefInvestmentRouter = {
  path: "/Chief",
  name: "Chief",
  component: layout,
  meta: {
    title: "首席投资官门户",
    icon: ""
  },
  redirect: "/Chief/Index",
  children: [
    {
      path: "Index",
      name: "Index",
      component: () => import("@/views/chiefPortal/Chief"),
      meta: { title: "首席投资官门户首页" }
    },
    {
      path: "Overview",
      name: "Overview",
      component: () => import("@/views/chiefPortal/Chief/components/Overview"),
      meta: { title: "首席投资官门户总览" }
    },
    {
      path: "Financial",
      name: "Financial",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/Financial"),
      meta: { title: "财务情况" }
    },
    {
      path: "Controls",
      name: "Controls",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/Controls"),
      meta: { title: "管控目标" }
    },
    {
      path: "FinancingSituation",
      name: "FinancingSituation",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/FinancingSituation"),
      meta: { title: "融资情况" }
    },
    {
      path: "OperatingCondition",
      name: "OperatingCondition",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/OperatingCondition"),
      meta: { title: "经营情况" }
    },
    {
      path: "RiskWarning",
      name: "RiskWarning",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/RiskWarning"),
      meta: { title: "风险预警" }
    },
    {
      path: "ProjectSituation",
      name: "ProjectSituation",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/ProjectSituation"),
      meta: { title: "项目情况" }
    },
    {
      path: "Construction",
      name: "Construction",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/Construction"),
      meta: { title: "建设情况" }
    },
    {
      path: "PersonalSettlement",
      name: "PersonalSettlement",
      component: () =>
        import("@/views/chiefPortal/Chief/meauComponents/PersonalSettlement"),
      meta: { title: "个人结算" }
    }
  ]
};

// 首席运营官
export const ChiefOperatingRouter = {
  path: "/ChiefOperating",
  name: "ChiefOperating",
  component: layout,
  meta: {
    title: "首席运营官门户",
    icon: ""
  },
  redirect: "/ChiefOperating/Index",
  children: [
    {
      path: "Index",
      name: "Index",
      component: () => import("@/views/chiefPortal/ChiefOperating"),
      meta: { title: "首席运营官门户首页" }
    },
    {
      path: "Overview",
      name: "Overview",
      component: () =>
        import("@/views/chiefPortal/ChiefOperating/components/Overview"),
      meta: { title: "首席运营官门户总览" }
    },
    {
      path: "Financial",
      name: "Financial",
      component: () =>
        import("@/views/chiefPortal/ChiefOperating/meauComponents/Financial"),
      meta: { title: "财务情况" }
    },
    {
      path: "Controls",
      name: "Controls",
      component: () =>
        import("@/views/chiefPortal/ChiefOperating/meauComponents/Controls"),
      meta: { title: "管控目标" }
    },
    {
      path: "FinancingSituation",
      name: "FinancingSituation",
      component: () =>
        import(
          "@/views/chiefPortal/ChiefOperating/meauComponents/FinancingSituation"
        ),
      meta: { title: "融资情况" }
    },
    {
      path: "OperatingCondition",
      name: "OperatingCondition",
      component: () =>
        import(
          "@/views/chiefPortal/ChiefOperating/meauComponents/OperatingCondition"
        ),
      meta: { title: "经营情况" }
    },
    {
      path: "RiskWarning",
      name: "RiskWarning",
      component: () =>
        import("@/views/chiefPortal/ChiefOperating/meauComponents/RiskWarning"),
      meta: { title: "风险预警" }
    },
    {
      path: "ProjectSituation",
      name: "ProjectSituation",
      component: () =>
        import(
          "@/views/chiefPortal/ChiefOperating/meauComponents/ProjectSituation"
        ),
      meta: { title: "项目情况" }
    },
    {
      path: "Construction",
      name: "Construction",
      component: () =>
        import(
          "@/views/chiefPortal/ChiefOperating/meauComponents/Construction"
        ),
      meta: { title: "建设情况" }
    },
    {
      path: "PersonalSettlement",
      name: "PersonalSettlement",
      component: () =>
        import(
          "@/views/chiefPortal/ChiefOperating/meauComponents/PersonalSettlement"
        ),
      meta: { title: "个人结算" }
    },
    {
      path: "Test",
      name: "Test",
      component: () =>
        // import("@/views/chiefPortal/ChiefOperating/components/Statements"),
        import("@/views/chiefPortal/ChiefOperating/components/Statements"),
      meta: { title: "测试" }
    }
  ]
};
